@import '/css/reset.css';
.mainwrap {
    width: 1280px;
    margin: 0 auto;
    height: auto;
    padding-bottom: 40px;
    .comm-title {
        height: 27px;
        line-height: 27px;
        margin: 20px 0 40px;
        a {
            color: #3a3f4a;
            text-decoration: none;
            outline: none;
        }
        .index-link {
            font: 14px/26px 'Microsoft Yahei';
            *line-height: 30px;
            color: #828282;
            margin-right: -8px;
        }
        em {
            font: 14px/26px 'Microsoft Yahei';
            *line-height: 30px;
            padding-left: 8px;
        }
    }
    .product-instro {
        padding: 30px 0 35px;
        width: 1280px;
        min-height: 540px;
        height: auto;
        background: #fff;
        .product-preview {
            margin: 0 40px 0 30px;
            width: 460px;
            height: 440px;
            float: left;
            .good-imgs {
                position: relative;
                width: 460px;
                height: 440px;
                overflow: hidden;
                ul {
                    list-style: none;
                    li {
                        width: 460px;
                        height: 440px;
                        display: block;
                    }
                }
            }
            .product-image {
                width: 458px;
                height: 438px;
                border: 1px solid #f2f2f2;
                // neilian
                display: inline-block;
                position: relative;
                text-decoration: none;
                outline: 0px;
                overflow: hidden;
                img {
                    display: block;
                    width: 458px;
                    height: 438px;
                }
            }
            .details {
                margin-top: 20px;
                width: 540px;
                height: 100px;
                li {
                    float: left;
                    width: 78px;
                    height: 74px;
                    margin-right: 10px;
                    border: 1px solid #f2f2f2;
                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
                .active,
                li:hover {
                    border-color: #e69800;
                }
            }
        }
    }
    // 商品信息显示
    .product-info {
        width: 720px;
        height: auto;
        float: left;
        .pord-name {
            width: 100%;
            line-height: 36px;
            *line-height: 36px;
            font-size: 28px;
            color: #333;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .pord-price {
            padding: 20px 0 15px;
            width: 100%;
            height: 28px;
            .pord-dispri {
                color: #f74f4a;
                font-size: 30px;
                line-height: 31px;
                font-weight: bold;
                float: left;
                strong {
                    font-size: 36px;
                }
            }
            .pord-orpri {
                padding-left: 5px;
                font-size: 16px;
                line-height: 38px;
                text-decoration: line-through;
                color: #999;
                float: left;
            }
        }
        // .coupon-link {
        //     line-height: 38px;
        //     color: #f74f4a;
        //     cursor: pointer;
        //     font-size: 13px;
        //     float: right;
        // }
        .pord-detailbox {
            width: 100%;
            height: 60px;
            line-height: 60px;
            border-top: 1px dashed #eee;
            border-bottom: 1px dashed #eee;
            font-size: 14px;
            .pord-sold {
                width: 310px;
                color: #999;
                float: left;
                span {
                    color: #333;
                }
            }
            .pord-totalcom {
                color: #999;
                float: left;
                span {
                    color: #333;
                }
            }
            .pord-starbox {
                font-size: 20px;
                color: #ffd92c;
                float: right;
                i {
                    margin: -4px 6px 0 0;
                    display: inline-block;
                    vertical-align: middle;
                    width: 111px;
                    height: 18px;
                    background: url(/images/ico-detail.png) no-repeat;
                    background-position: -115px -104px;
                }
            }
        }
        // 加减
        .pord-num {
            width: 100%;
            height: auto;
            label {
                color: #888;
                padding-top: 10px;
                float: left;
            }
            .mj {
                float: left;
                margin-left: 42px;
                margin-top: 10px;
                .num-plus {
                    width: 34px;
                    height: 34px;
                    display: block;
                    text-align: center;
                    border: 1px solid #ddd;
                    float: left;
                    .icon-detail {
                        margin: 16px auto;
                        width: 10px;
                        height: 2px;
                        display: block;
                        background: url(/images/ico-detail.png) no-repeat -2px -2px;
                    }
                }
                .input-detail {
                    width: 58px;
                    height: 34px;
                    border: 1px solid #ddd;
                    border-left: none;
                    border-right: none;
                    text-align: center;
                    line-height: 34px;
                    color: #333;
                    display: block;
                    font-size: 14px;
                    cursor: default;
                    float: left;
                }
                .num-minus {
                    width: 34px;
                    height: 34px;
                    display: block;
                    border: 1px solid #ddd;
                    float: left;
                    .icon-detail {
                        margin: 12px auto;
                        width: 10px;
                        height: 10px;
                        background: url(/images/ico-detail.png) no-repeat -16px -2px;
                        display: block;
                    }
                }
            }
            // 库存
            .pord-stock {
                font-size: 14px;
                color: #5e6360;
                padding-left: 10px;
                line-height: 34px;
            }
        }
        .pord-btn {
            margin-top: 25px;
            a {
                display: block;
                width: 200px;
                height: 56px;
                line-height: 56px;
                text-align: center;
                font-size: 20px;
                color: #fff;
                opacity: 1;
                float: left;
            }
            .add-to-cart {
                background: #000;
            }
            .buy-btn {
                background: #e69800;
                margin-left: 30px;
            }
            .btn-collect {
                margin: 12px 0 0 30px;
                display: block;
                width: 84px;
                height: 28px;
                line-height: 28px;
                border: 2px solid #ddd;
                border-radius: 30px;
                font-size: 14px;
                color: #888;
                position: relative;
                text-indent: 16px;
                .icon-collect {
                    position: absolute;
                    top: 7px;
                    left: 14px;
                    z-index: 2;
                    width: 16px;
                    height: 14px;
                    background: url(/images/ico-detail.png) no-repeat -107px -2px;
                    // background-position: -107px -2px;
                }
            }
        }
    }
    // 商品单品详情
    .product-detail {
        width: 1280px;
        height: auto;
        background: #fff;
        margin-top: 20px;
        .pord-tab {
            margin: 0 auto 20px;
            width: 1220px;
            height: 71px;
            border-bottom: 1px solid #eee;
            ul {
                margin: 0 auto;
                width: 705px;
                li {
                    float: left;
                    width: 235px;
                    height: 71px;
                    line-height: 71px;
                    text-align: center;
                    color: #333;
                    font-size: 18px;
                    cursor: pointer;
                    position: relative;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    .tabline {
                        width: 40px;
                        height: 4px;
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        margin-left: -20px;
                        background: #e69800;
                        display: none;
                    }
                }
            }
        }
        // 商品详情
        .tabcont {
            height: auto;
            .pord-detail {
                .paramter {
                    font-size: 14px;
                    color: #777;
                    margin-left: 44px;
                    height: 40px;
                    line-height: 20px;
                    margin-bottom: 5px;
                    ul li {
                        float: left;
                        width: 300px;
                        margin-bottom: 6px;
                        .fl {
                            float: left;
                        }
                    }
                    .par-name {
                        width: 225px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }
                }
                .detailbox {
                    height: auto;
                    width: 550px;
                    text-align: left;
                    padding-bottom: 100px;
                    margin-top: 40px;
                    margin: 0 auto;
                    img {
                        width: 100%;
                        height: auto;
                        margin: 0 auto;
                        display: block;
                    }
                }
            }
            .all-comment {
                margin: 35px auto 18px;
                width: 336px;
                height: 25px;
                line-height: 25px;
                font-size: 18px;
                color: #333;
                .fl {
                    float: left;
                }
                .pord-starall {
                    width: auto;
                    height: 24px;
                    i {
                        margin: -5px 10px 0 5px;
                        width: 148px;
                        height: 24px;
                        display: inline-block;
                        vertical-align: middle;
                    }
                    .i-star {
                        background: url(/images/ico-detail.png) no-repeat -156px -152px;
                    }
                }
            }
            .port-contact {
                height: auto;
                padding-bottom: 100px;
                dl {
                    margin: 0 0 24px 40px;
                    line-height: 1;
                    font-size: 14px;
                    dt {
                        margin-bottom: 12px;
                        padding-left: 25px;
                        color: #1e1e1e;
                        background: url(/images/contact.png) no-repeat;
                        height: 16px;
                        line-height: 16px;
                        background-position: 0 0;
                    }
                    dd {
                        color: #777;
                        line-height: 24px;
                    }
                }
                .contact-method {
                    dt {
                        background-position: 0 -16px;
                    }
                }
                .contact-service {
                    padding-top: 24px;
                    a {
                        display: block;
                        width: 65px;
                        height: 28px;
                        line-height: 28px;
                        border: 1px solid #ededed;
                        border-radius: 2px;
                        color: #777;
                        padding-left: 28px;
                        background: url(/images/icon-qq.png) 8px center no-repeat;
                    }
                }
                .concat-notice {
                    color: #f15757;
                }
            }
        }
    }
    // shangping详情
}